﻿#include "logindlg.h"
#include "ui_logindlg.h"

LoginDlg::LoginDlg(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::LoginDlg)
{
    ui->setupUi(this);
    this->setWindowTitle("QLink");
}

LoginDlg::~LoginDlg()
{
    delete ui;
}

void LoginDlg::on_pushButton_clicked()
{
    this->hide();
    emit modeChoose();
}

void LoginDlg::on_pushButton_2_clicked()
{
    this->hide();
    emit loadFile();
}

void LoginDlg::on_pushButton_3_clicked()
{
    emit quitGame();
}
